package org.fuys.coder.domain.substance.model.event;

import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.substance.model.event
 * @className: SubstanceReviewEvent
 * @author: WangJing
 * @description: 用于发送请求去重新审核
 * @date: 2024/7/13 22:46
 * @version: 1.0
 */


public class SubstanceReviewEvent extends ApplicationEvent {
    //举报人ID
    private Integer userId;
    //被举报的内容ID
    private Long substanceId;
    //举报原因
    private String msg;
    //举报的内容分类 是标题简介等文字 或是 用户上传的图片？
    private Integer fileType;
    //举报的作者id
    private Integer authorId;


    public SubstanceReviewEvent(Object source) {
        super(source);
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Long getSubstanceId() {
        return substanceId;
    }

    public void setSubstanceId(Long substanceId) {
        this.substanceId = substanceId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getFileType() {
        return fileType;
    }
    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }
}
